<?php


namespace app\common\validate;


use app\common\BaseValidate;

/**
 * id必须为整数校验器
 * Class IdMustIntValidate
 * @package app\common\validate
 */
class IdMustIntValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'require|integer'
    ];
}